package com.zh.listener;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.context.annotation.Configuration;

//@Configuration
//@RabbitListener(queues = "test-direct-queue") //监听队列的名称
//public class DirectReceiver2 {
//
//    @RabbitHandler
//    public void processDirect(String json){
//        System.out.println("direct监听消息===第二个====："+json);
//    }
//}
